package com.yenlien.traceyun.common.bean;

import java.util.List;

/**
 * @author: bigwangy@sina.com
 * @create: 2020-03-11
 * @description:
 **/
public class PageBean<T> {

    public PageBean(List<T> rows, int total) {
        this.rows = rows;
        this.total = total;
    }

    public PageBean() {

    }

    //记录
    private List<T> rows;

    //总条数
    private int total;

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
